package com.asia5b.a5mall.middleware.model.order

import com.asia5b.a5mall.middleware.model.base.BaseModel
import com.asia5b.a5mall.middleware.model.shop.AbsGoodsModel
import java.io.Serializable

/**
 * Created by zhangyuncai on 2020/1/13.
 */
class OrderAfterSaleDetailModel : BaseModel() {
    var order: AttersaleOrderBean? = null
    var original_way=""//原路返回

    var return_money = 0.0//退款金额
    var sku_list: ArrayList<AbsGoodsModel>? = null

    class AttersaleOrderBean : Serializable {
        var order_sku_list: ArrayList<AbsGoodsModel>? = null
        val actual_currency_short = ""
    }
}

/*
{
    "original_way": "yes",
    "return_money": 3747,
    "return_point": 0,
    "order": {
        "order_id": 3745,
        "trade_sn": "20200707000015",
        "sn": "20200707000015",
        "seller_id": 120,
        "seller_name": "方可为友",
        "member_id": 283,
        "member_name": "m_15880000000",
        "order_status": "PAID_OFF",
        "pay_status": "PAY_YES",
        "ship_status": "SHIP_NO",
        "shipping_id": 0,
        "comment_status": "UNFINISHED",
        "shipping_type": null,
        "payment_method_id": null,
        "payment_plugin_id": "asia5bPayPlugin",
        "payment_method_name": "支付系统",
        "payment_type": "ONLINE",
        "payment_time": 1594105186,
        "pay_money": 3747,
        "pay_money_list": null,
        "ship_name": "张运才",
        "ship_addr": "柯木塱背坪仓库1号仓库",
        "ship_zip": "26080",
        "ship_mobile": "15880000000",
        "gr": "86",
        "ship_tel": null,
        "receive_time": "任意时间",
        "ship_province_id": 2,
        "ship_city_id": 4,
        "ship_county_id": 232,
        "ship_town_id": 2516,
        "ship_province": "马来西亚（Malaysia）",
        "ship_city": "Pahang",
        "ship_county": "Balok",
        "ship_town": "26080",
        "order_price": 3747,
        "order_price_list": null,
        "goods_price": 171,
        "goods_price_list": null,
        "shipping_price": 0,
        "shipping_price_list": null,
        "discount_price": 0,
        "discount_price_list": null,
        "international_price": 3576,
        "international_price_list": null,
        "disabled": 0,
        "weight": 3,
        "goods_num": null,
        "remark": null,
        "cancel_reason": null,
        "the_sign": null,
        "items_json": "[{\"item_id\":null,\"seller_id\":120,\"seller_name
        "warehouse_id": 12,
        "need_pay_money": 3747,
        "need_pay_money_list": null,
        "ship_no": null,
        "address_id": 280,
        "admin_remark": null,
        "logi_id": null,
        "logi_name": null,
        "complete_time": null,
        "create_time": 1594105182,
        "signing_time": null,
        "ship_time": null,
        "pay_order_no": "2020070710001935807798",
        "service_status": "EXPIRED",
        "bill_status": null,
        "bill_sn": null,
        "client_type": "PC",
        "need_receipt": 0,
        "order_type": "normal",
        "order_data": null,
        "country_id": 12,
        "fasttype": 8,
        "actual_currency_short": null,
        "actual_amount": null,
        "actual_amount_list": null,
        "order_source": "SHOPPINGMALL",
        "payment_num": 1,
        "order_operate_allowable_vo": {
            "allow_cancel": false,
            "allow_confirm": false,
            "allow_pay": false,
            "allow_ship": true,
            "allow_rog": false,
            "allow_comment": false,
            "allow_complete": false,
            "allow_apply_service": false,
            "allow_service_cancel": true,
            "allow_check_express": false,
            "allow_edit_consignee": true,
            "allow_edit_price": false
        },
        "order_status_text": "17",
        "pay_status_text": "已付款",
        "ship_status_text": "未发货",
        "service_status_text": "已失效不允许申请售后",
        "payment_name": null,
        "order_sku_list": [
            {
                "item_id": null,
                "seller_id": 120,
                "seller_name": "方可为友",
                "goods_id": 8618,
                "sku_id": 25874,
                "sku_sn": "A007",
                "cat_id": 669,
                "num": 1,
                "goods_weight": 1.5,
                "original_price": 87,
                "original_price_list": {
                    "price_rmb": 87,
                    "price_myr": 55.24,
                    "price_thb": 0,
                    "price_idr": 0,
                    "price_vnd": 286834.93,
                    "price_php": 0
                },
                "purchase_price": 87,
                "purchase_price_list": {
                    "price_rmb": 87,
                    "price_myr": 55.24,
                    "price_thb": 0,
                    "price_idr": 0,
                    "price_vnd": 286834.93,
                    "price_php": 0
                },
                "subtotal": 87,
                "subtotal_list": {
                    "price_rmb": 87,
                    "price_myr": 55.24,
                    "price_thb": 0,
                    "price_idr": 0,
                    "price_vnd": 286834.93,
                    "price_php": 0
                },
                "name": "香芋紫女装防晒衣夏2020新款外穿宽松长袖短款透气超仙长袖薄外套",
                "goods_image": "http:\/\/47.88.173.86:82\/testShopImg\/20
                "spec_list": null,
                "point": null,
                "snapshot_id": 5193,
                "service_status": "NOT_APPLY",
                "single_list": [],
                "group_list": [],
                "goods_operate_allowable_vo": {
                    "allow_apply_service": false
                },
                "promotion_tags": [],
                "purchase_num": 0,
                "actual_pay_total": 87,
                "actual_pay_total_list": null,
                "units_number": 1,
                "total_number": 1,
                "sn": null,
                "enable_quantity": 9998,
                "traits": false,
                "traits_name": "正常"
            },
            {
                "item_id": null,
                "seller_id": 120,
                "seller_name": "方可为友",
                "goods_id": 8619,
                "sku_id": 25875,
                "sku_sn": "A008",
                "cat_id": 6027,
                "num": 1,
                "goods_weight": 1.5,
                "original_price": 84,
                "original_price_list": {
                    "price_rmb": 84,
                    "price_myr": 53.34,
                    "price_thb": 0,
                    "price_idr": 0,
                    "price_vnd": 276944.07,
                    "price_php": 0
                },
                "purchase_price": 84,
                "purchase_price_list": {
                    "price_rmb": 84,
                    "price_myr": 53.34,
                    "price_thb": 0,
                    "price_idr": 0,
                    "price_vnd": 276944.07,
                    "price_php": 0
                },
                "subtotal": 84,
                "subtotal_list": {
                    "price_rmb": 84,
                    "price_myr": 53.34,
                    "price_thb": 0,
                    "price_idr": 0,
                    "price_vnd": 276944.07,
                    "price_php": 0
                },
                "name": "2020新款短款女装外套韩版时尚休闲百搭洋气春秋连帽上衣外套女潮",
                "goods_image": "http:\/\/47.88.173.86:82\/testShopImg\/20
                "spec_list": null,
                "point": null,
                "snapshot_id": 5194,
                "service_status": "NOT_APPLY",
                "single_list": [],
                "group_list": [],
                "goods_operate_allowable_vo": {
                    "allow_apply_service": false
                },
                "promotion_tags": [],
                "purchase_num": 0,
                "actual_pay_total": 84,
                "actual_pay_total_list": null,
                "units_number": 1,
                "total_number": 1,
                "sn": null,
                "enable_quantity": 9998,
                "traits": false,
                "traits_name": "正常"
            }
        ],
        "inedita_list": [
            {
                "item_id": null,
                "seller_id": 120,
                "seller_name": "方可为友",
                "goods_id": 8618,
                "sku_id": 25874,
                "sku_sn": "A007",
                "cat_id": 669,
                "num": 1,
                "goods_weight": 1.5,
                "original_price": 87,
                "original_price_list": {
                    "price_rmb": 87,
                    "price_myr": 55.24,
                    "price_thb": 0,
                    "price_idr": 0,
                    "price_vnd": 286834.93,
                    "price_php": 0
                },
                "purchase_price": 87,
                "purchase_price_list": {
                    "price_rmb": 87,
                    "price_myr": 55.24,
                    "price_thb": 0,
                    "price_idr": 0,
                    "price_vnd": 286834.93,
                    "price_php": 0
                },
                "subtotal": 87,
                "subtotal_list": {
                    "price_rmb": 87,
                    "price_myr": 55.24,
                    "price_thb": 0,
                    "price_idr": 0,
                    "price_vnd": 286834.93,
                    "price_php": 0
                },
                "name": "香芋紫女装防晒衣夏2020新款外穿宽松长袖短款透气超仙长袖薄外套",
                "goods_image": "http:\/\/47.88.173.86:82\/testShopImg\/20
                "spec_list": null,
                "point": null,
                "snapshot_id": 5193,
                "service_status": "NOT_APPLY",
                "single_list": [],
                "group_list": [],
                "goods_operate_allowable_vo": {
                    "allow_apply_service": false
                },
                "promotion_tags": [],
                "purchase_num": 0,
                "actual_pay_total": 87,
                "actual_pay_total_list": null,
                "units_number": 1,
                "total_number": 1,
                "sn": null,
                "enable_quantity": 9998,
                "traits": false,
                "traits_name": "正常"
            },
            {
                "item_id": null,
                "seller_id": 120,
                "seller_name": "方可为友",
                "goods_id": 8619,
                "sku_id": 25875,
                "sku_sn": "A008",
                "cat_id": 6027,
                "num": 1,
                "goods_weight": 1.5,
                "original_price": 84,
                "original_price_list": {
                    "price_rmb": 84,
                    "price_myr": 53.34,
                    "price_thb": 0,
                    "price_idr": 0,
                    "price_vnd": 276944.07,
                    "price_php": 0
                },
                "purchase_price": 84,
                "purchase_price_list": {
                    "price_rmb": 84,
                    "price_myr": 53.34,
                    "price_thb": 0,
                    "price_idr": 0,
                    "price_vnd": 276944.07,
                    "price_php": 0
                },
                "subtotal": 84,
                "subtotal_list": {
                    "price_rmb": 84,
                    "price_myr": 53.34,
                    "price_thb": 0,
                    "price_idr": 0,
                    "price_vnd": 276944.07,
                    "price_php": 0
                },
                "name": "2020新款短款女装外套韩版时尚休闲百搭洋气春秋连帽上衣外套女潮",
                "goods_image": "http:\/\/47.88.173.86:82\/testShopImg\/20
                "spec_list": null,
                "point": null,
                "snapshot_id": 5194,
                "service_status": "NOT_APPLY",
                "single_list": [],
                "group_list": [],
                "goods_operate_allowable_vo": {
                    "allow_apply_service": false
                },
                "promotion_tags": [],
                "purchase_num": 0,
                "actual_pay_total": 84,
                "actual_pay_total_list": null,
                "units_number": 1,
                "total_number": 1,
                "sn": null,
                "enable_quantity": 9998,
                "traits": false,
                "traits_name": "正常"
            }
        ],
        "send_list": [],
        "receipt_history": null,
        "gift_list": [],
        "cash_back": 0,
        "cash_back_list": null,
        "coupon_price": 0,
        "coupon_price_list": null,
        "gift_point": 0,
        "gift_coupon": null,
        "use_point": null,
        "full_minus": 0,
        "full_minus_list": null,
        "link_name": "张运才",
        "link_phone": "15880000000",
        "license_add": "广东省广州市天河区凤凰街道柯木塱背坪仓库一号仓库",
        "shop_province": "中国（China）",
        "shop_city": "广东省",
        "shop_county": "广州",
        "shop_town": "510000",
        "shop_add": "",
        "shop_name": "方可为友",
        "fast_name": null,
        "ping_tuan_status": null,
        "warehouse": {
            "id": 12,
            "house_name": "中国(广州仓)",
            "house_en_name": null,
            "country_id": "12",
            "house_type": null,
            "link_tel": "18218340459",
            "link_man": "张主管",
            "house_add": "广东省广州市天河区凤凰街道广汕二路60号背坪仓库1号仓后面",
            "wave_day": 30,
            "wave_money": 1,
            "lost_day": 60,
            "sort": 1,
            "is_show": 1,
            "img_url": "http:\/\/47.88.173.86:82\/wms\/20200506\/20200506
        },
        "self_operated": 0
    },
    "sku_list": [
        {
            "item_id": null,
            "seller_id": 120,
            "seller_name": "方可为友",
            "goods_id": 8618,
            "sku_id": 25874,
            "sku_sn": "A007",
            "cat_id": 669,
            "num": 1,
            "goods_weight": 1.5,
            "original_price": 87,
            "original_price_list": {
                "price_rmb": 87,
                "price_myr": 55.24,
                "price_thb": 0,
                "price_idr": 0,
                "price_vnd": 286834.93,
                "price_php": 0
            },
            "purchase_price": 87,
            "purchase_price_list": {
                "price_rmb": 87,
                "price_myr": 55.24,
                "price_thb": 0,
                "price_idr": 0,
                "price_vnd": 286834.93,
                "price_php": 0
            },
            "subtotal": 87,
            "subtotal_list": {
                "price_rmb": 87,
                "price_myr": 55.24,
                "price_thb": 0,
                "price_idr": 0,
                "price_vnd": 286834.93,
                "price_php": 0
            },
            "name": "香芋紫女装防晒衣夏2020新款外穿宽松长袖短款透气超仙长袖薄外套",
            "goods_image": "http:\/\/47.88.173.86:82\/testShopImg\/202006
            "spec_list": null,
            "point": null,
            "snapshot_id": 5193,
            "service_status": "NOT_APPLY",
            "single_list": [],
            "group_list": [],
            "goods_operate_allowable_vo": {
                "allow_apply_service": false
            },
            "promotion_tags": [],
            "purchase_num": 0,
            "actual_pay_total": 87,
            "actual_pay_total_list": null,
            "units_number": 1,
            "total_number": 1,
            "sn": null,
            "enable_quantity": 9998,
            "traits": false,
            "traits_name": "正常",
            "refund_price": 87,
            "last_refund_price": 0
        },
        {
            "item_id": null,
            "seller_id": 120,
            "seller_name": "方可为友",
            "goods_id": 8619,
            "sku_id": 25875,
            "sku_sn": "A008",
            "cat_id": 6027,
            "num": 1,
            "goods_weight": 1.5,
            "original_price": 84,
            "original_price_list": {
                "price_rmb": 84,
                "price_myr": 53.34,
                "price_thb": 0,
                "price_idr": 0,
                "price_vnd": 276944.07,
                "price_php": 0
            },
            "purchase_price": 84,
            "purchase_price_list": {
                "price_rmb": 84,
                "price_myr": 53.34,
                "price_thb": 0,
                "price_idr": 0,
                "price_vnd": 276944.07,
                "price_php": 0
            },
            "subtotal": 84,
            "subtotal_list": {
                "price_rmb": 84,
                "price_myr": 53.34,
                "price_thb": 0,
                "price_idr": 0,
                "price_vnd": 276944.07,
                "price_php": 0
            },
            "name": "2020新款短款女装外套韩版时尚休闲百搭洋气春秋连帽上衣外套女潮",
            "goods_image": "http:\/\/47.88.173.86:82\/testShopImg\/202006
            "spec_list": null,
            "point": null,
            "snapshot_id": 5194,
            "service_status": "NOT_APPLY",
            "single_list": [],
            "group_list": [],
            "goods_operate_allowable_vo": {
                "allow_apply_service": false
            },
            "promotion_tags": [],
            "purchase_num": 0,
            "actual_pay_total": 84,
            "actual_pay_total_list": null,
            "units_number": 1,
            "total_number": 1,
            "sn": null,
            "enable_quantity": 9998,
            "traits": false,
            "traits_name": "正常",
            "refund_price": 84,
            "last_refund_price": 0
        }
    ]
}
 */